package com.twu.biblioteca.menuitem;

import com.twu.biblioteca.controller.Controller;
import com.twu.biblioteca.controller.MembershipController;
import com.twu.biblioteca.menuitem.MenuItem;

/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 8/25/13
 * Time: 1:27 AM
 * To change this template use File | Settings | File Templates.
 */
public class MenuItemCheckMembership extends MenuItem {

    public MenuItemCheckMembership(String label, Controller controller) {
        super(label, controller);
    }

    @Override
    public void execute() {
        ((MembershipController) controller).checkMembership();
    }
}
